<{extends file="BaseHtml.tpl.html"}> 
<{block name=content}>
<!-- <div class="span12">
	<div class="row-fluid">
	</div>
</div> -->
<div class="hero-unit margin10">
  <form class="form-horizontal" id="form2">
    <fieldset>
      <div id="legend" class="">
        <legend class="">个人信息 <span class="label margin10 user_msg"></span></legend>
      </div>
    <div class="control-group">
          <label class="control-label" for="input01"> 昵称</label>
          <div class="controls">
            <input type="text" placeholder=" 昵称" class="input-xlarge" id="nickname" value="<{$user.nick}>">
          </div>
        </div>

    <div class="control-group">
          <label class="control-label" for="input01">手机号</label>
          <div class="controls">
            <input type="text" placeholder="手机号" class="input-xlarge" id="mobile" value="<{$user.mobile}>">
          </div>
        </div>

    <div class="control-group">
          <label class="control-label" for="input01">QQ</label>
          <div class="controls">
            <input type="text" placeholder="QQ" class="input-xlarge" id="qq" value="<{$user.qq}>">
          </div>
        </div>
    
    <div class="control-group">
          <!-- Button -->
          <div class="controls">
            <a class="btn btn-success change_pwd">更改密码</a>
            <a class="btn btn-success save_user">保存</a>
          </div>
        </div>

    </fieldset>
  </form>  
</div>
<!-- Modal -->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog"
    aria-labelledby="myModalLabel" aria-hidden="true">
    <form id="form1">
    <input type="reset" style="display:none;" id="reset" /> 
    <div class="modal-header">
        <button type="button" class="close canceldialog" 
            aria-hidden="true"  onclick="">×</button>
        <h3 id="myModalLabel">更改密码</h3>
    </div>
    <div class="modal-body">
        <div class="control-group">
          <label class="control-label" for="input01">旧密码</label>
          <div class="controls">
            <input type="password" placeholder="旧密码" class="input-xlarge" id="key1" >
          </div>
        </div>
	    <div class="control-group" >
	          <label class="control-label" for="input01">新密码</label>
	          <div class="controls">
	            <input type="password" placeholder="新密码" class="input-xlarge" id="key2" >
	          </div>
	        </div>
        <div class="control-group" >
             <label class="control-label" for="input01">新密码</label>
             <div class="controls">
               <input type="password" placeholder="新密码" class="input-xlarge" id="key3" >
             </div>
           </div>
    </div>
    <div class="modal-footer">
        <span class="label label-info left dialogmsg"></span>
        <a class="btn canceldialog" aria-hidden="true">返回</a>
        <a class="btn btn-primary" aria-hidden="true" id="savepwd">保存</a>
    </div>
    </form>
</div>
<{/block}>
<{block name=body_end}>
<script type="text/javascript">
var site = {web:"<{$smarty.const.WEB_PATH}>",title:"<{$default}>",uid:"<{$user.id}>"};
</script>
<script type="text/javascript" src="<{$smarty.const.WEB_PATH}>js/Jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="<{$smarty.const.WEB_PATH}>js/common/util.js"></script>
<script type="text/javascript" src="<{$smarty.const.WEB_PATH}>js/my/user.js"></script>
<{/block}>